package co.yixiang.yshop.module.product.controller.admin.producttag.param;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotNull;

/**
 * 商品标签组 DO
 *
 * @author moxiangrong
 */
@Data
@ToString(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ProductTagGroupCreateParam {

    @Schema(description = "组名称", example = "1")
    @NotNull(message = "标签组名称不能为空")
    private String groupName;

    @Schema(description = "排序", example = "1")
    @NotNull(message = "排序值不能为空")
    private Integer sort;

}
